<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <link type="image/x-icon" rel="bookmark" href="">
        <link type="image/x-icon" rel="shortcut icon" href="">
        <link rel="stylesheet" href="__PUBLIC__css/common.css">
        <link rel="stylesheet" href="__PUBLIC__css/user-new.css">
        <link rel="stylesheet" href="__PUBLIC__css/css_reset.css"/>
        <link rel="stylesheet" href="__PUBLIC__less/index.css"/>
        <style type="text/css">
            .cuttitle{display:inline-block;;*display:inline;width:130px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;cursor:pointer;}
            html{
                font-size: 62.5%;
                font-family: "微软雅黑";
            }
            .search-results .table-content table tr th{vertical-align:middle;font-size:12px;}
            .search-results .table-content table tr td{vertical-align:middle;font-size:12px;}
        </style>
    </head>
    <body>
        <div class="page-right my-game">
            <form id="queryForm" action="{:U('Agent/settle/records')}" method="get">
                <input id="currentNo_queryForm" name="currentNo" type="hidden" value="1">
                <input id="pageSize_queryForm" name="pageSize" type="hidden" value="10">
                <div class="input-content" style="height:80px;">
                    <div class="pack-time">
                        <span>申请时间:</span>
                        <div id="time-one"><input id="stime" name="start_time" type="text" value="{$formget.start_time}" onClick="WdatePicker()"></div>
                        <span class="to">至</span>
                        <div id="time-two"><input id="etime" name="end_time" type="text" value="{$formget.end_time}" onClick="WdatePicker()"></div>
                    </div>
                    <div class="search-btn" style="margin-top:20px;">搜 &nbsp;索</div>
                </div>
            </form>
            <div class="search-results">

                <div class="results-header">
                    <span class="game-num">共找到<i>{$num_of_records}</i>个记录</span>

                </div>
                <div class="table-content">
                    <table border="0" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>
                                <th width="80">ID</th>
                                <th width="80">金额</th>
                                <th width="150">提现方式</th>
                                <th width="150">提现帐号</th>
                                <th width="100">申请时间</th>
                                <th width="100">更新时间</th>
                                <th width="100">打款时间</th>
                                <th width="100">状态</th>
                            </tr>	
                            <tr style="color:#0ae;">
                                <td>已打款汇总</td>
                                <td>{$sumitems[0]['sum_amount']} 元</td>
                                <td>--</td>
                                <td>--</td>
                                <td>--</td>
                                <td>--</td>
                                <td>--</td>
                                <td>--</td>
                            </tr>   
                        <volist name="records" id="vo">
                            <tr>
                                <td>{$vo.id}</td>
                                <td>{$vo.money} 元</td>
                                <td>
                                    <switch name="vo.payway">
                                        <case value="zfb">支付宝</case>
                                        <case value="bank">银行卡</case>
                                    </switch>
                                </td>
                                <td>{$vo.banknum}</td>					                                                                                    
                                <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td> 
                                <td>
                                    <notempty name="vo.check_time">
                                        {$vo.check_time|date="Y-m-d H:i:s",###}
                                    </notempty>
                                    <empty name="vo.check_time">
                                        --
                                    </empty>                                                
                                </td>
                                <td>
                                    <notempty name="vo.settle_time">
                                        {$vo.settle_time|date="Y-m-d H:i:s",###}
                                    </notempty>
                                    <empty name="vo.settle_time">
                                        --
                                    </empty>                                                
                                </td>
                                <td>
                                    <switch name="vo.status">
                                        <case value="1">待审核</case>
                                        <case value="2">审核通过</case>
                                        <case value="3"><span style="color:red;">已打款</span></case>
                                        <case value="4"><span style="color:green;">审核不通过</span></case>
                                    </switch>
                                </td>
                            </tr>                               
                        </volist>                                                                        
                        </tbody>
                    </table>
                    <div class="page" style="">
                        <div class="paging">
                            {$Page}
                        </div>
                    </div>                          
                </div>
            </div>
        </div>           
    </body>
    <script src="__PUBLIC__js/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__js/xhr.js"></script>
    <script src="__PUBLIC__js/demo1.js"></script>
    <script src="__PUBLIC__js/autoPage.js"></script>
    <script src="__PUBLIC__My97DatePicker/WdatePicker.js"></script>
    <script src="__PUBLIC__js/mygames.js"></script>
    <script>
                            $(".search-btn").live("click", function () {
                                $("#queryForm").submit();
                            });
    </script>
</html>